package com.gs.security.core.validate.image;

import com.gs.security.core.validate.validatecode.ValidateCode;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.awt.image.BufferedImage;

/**
 * 图片验证码
 */
@Data
public class ImageCode  extends ValidateCode {
    private BufferedImage image;
    public ImageCode(BufferedImage image, String code, int expireTime){
        super(code, expireTime);
        this.image = image;
    }
}
